Npx cypress command not executed from cron job
# i-need-help
f
I have a bash script getting executed from cron job , all commands are getting executed perfectly except the cypress commands , please assist where is the issue. Upon googling heard the node path to given, if someone can modify it & give me it would be great Cron job command: # ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; # │ │ │ │ │ 7 is also Sunday on some systems) # │ │ │ │ │ # │ │ │ │ │ # * * * * * * * * * * /usr/local/bin/node cd Desktop/Spectrum/2023_20/captiveportal && sh cypress/scripts/Testbash3.sh Below is the command present in my bash file which is not getting triggered npx cypress-repeat run -n 3 --until-passes --browser chrome --spec cypress/tests/client/portal/spectrumwifi/cucumber/login/login_AP.feature --headed